package com.study.mike.spring.sample.create;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *
 * @author: yuanwl
 * @date: 2021/2/9 11:11
 */
public class BeanXmlTest {

    private Integer id;

    private Integer age;

    private String name;

    private List<String> skillList;

    private Map<String, String> map;

    private LoveServiceFactory loveServiceFactory;

    public BeanXmlTest(Integer id, Integer age, String name, Map<String, String> map, LoveServiceFactory loveServiceFactory) {
        this.id = id;
        this.age = age;
        this.name = name;
        this.map = map;
        this.loveServiceFactory = loveServiceFactory;
    }

    public BeanXmlTest(Integer id, String name, List<String> skillList, Map<String, String> map, LoveServiceFactory loveServiceFactory) {
        this.id = id;
        this.name = name;
        this.skillList = skillList;
        this.map = map;
        this.loveServiceFactory = loveServiceFactory;
    }

    public BeanXmlTest(Integer id, Integer age, String name, List<String> skillList, LoveServiceFactory loveServiceFactory) {
        this.id = id;
        this.age = age;
        this.name = name;
        this.skillList = skillList;
        this.loveServiceFactory = loveServiceFactory;
    }

    public BeanXmlTest(Integer id, Integer age, String name, List<String> skillList, Map<String, String> map) {
        this.id = id;
        this.age = age;
        this.name = name;
        this.skillList = skillList;
        this.map = map;
    }

    public BeanXmlTest(Integer id, Integer age, String name, List<String> skillList, Map<String, String> map, LoveServiceFactory loveServiceFactory) {
        this.id = id;
        this.age = age;
        this.name = name;
        this.skillList = skillList;
        this.map = map;
        this.loveServiceFactory = loveServiceFactory;
    }

    public void setId(Integer id) {
        this.id = id;
        System.err.println("setId=" + id);
    }

}
